<?php

namespace app\admin\validate;

use think\Validate;

class School extends Validate
{
    protected $rule = [
        'college_name' => 'require|unique:school'
    ];

    protected $message = [
        'college_name.require' => '学院名称不能为空',
        'college_name.unique' => '名称已存在',
    ];

   
}